<?
/**
 * seller Api
 *
 * @id			$Id: sellerFuns.php 10 2007-06-04 14:22:46Z gamezoom $
 * @author		$Author: gamezoom $
 * @date		$Date: 2007-06-04 14:22:46 +0000 (Mon, 04 Jun 2007) $
 * @version	$Revision: 10 $
 * @svn			$HeadURL: http://jxcfortaobao.googlecode.com/svn/trunk/inc/classes/sellerFuns.php $
 */

class sellerFuns
{
	/**
	 * get seller list for smarty assign var
	 */
	function getList($params)
	{
		if(!isset($params["assign"]) || $params["assign"] == "") return;
		
		$sellerList = pdoFactory::fetchAll("SELECT * FROM seller");
		$params["smarty"]->assign($params["assign"], $sellerList);
	}
}
?>